package cn.elwy.rcp.ui.table.provider;

import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;

import cn.elwy.rcp.ui.table.model.TableInfo;

/**
 * 视图过滤
 * 
 * @author huangsq
 * @version 1.0, 2014-01-05
 * @since 1.0, 2014-01-05
 */
public class TablePaneFilter extends ViewerFilter {

  private TableInfo tableInfo;

  @Override
  public boolean select(Viewer viewer, Object parentElement, Object element) {
    return true;
  }

  public TableInfo getTableInfo() {
    return tableInfo;
  }

  public void setTableInfo(TableInfo tableInfo) {
    this.tableInfo = tableInfo;
  }

}